<%@ page language="java"  pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<style>
.pageFormContent p{width: 98%;}
.pageFormContent p label{width: 100px;}
span.error{left: 255px; width:100px; z-index:999;}
</style>
<div class="pageContent">
	<form method="post" action="saveModelSales?callbackType=closeCurrent" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone);">
		<div class="pageFormContent" layoutH="58">
				<p>
					<label>活动型号ID：</label>
					<input type="text"  readonly="readonly" class="required" size="20" name="mappId" value="${activtyModelId }"  />
				</p>
				<p>
					<label>销售方式：</label>
					<select name="salesId" class="required" style="width: 135px;">
						<option value="">-选择销售方式-</option>
						<c:forEach var="sale" items="${salesModelList }">
						<option value="${sale.id }">${sale.salesName }</option>
						</c:forEach>
					</select>
					<span style="color:#f00; line-height: 22px; padding-left:5px;"> *</span>
					<span style="color:#575757; line-height: 22px; padding-left:5px;">无销售方式基础数据时, 请先新增</span>
				</p>
				<p>
					<label>套 餐：</label>
					<select name="comboId" class="required" style="width: 135px;" >
						<option value="">-选择套餐-</option>
						 <c:forEach var="co" items="${comboList}">
						 <option value="${co.id }">${co.comboName }</option>
						 </c:forEach>
					</select>
					<span style="color:#f00; line-height: 22px; padding-left:5px;"> *</span>
					<span style="color:#575757; line-height: 22px; padding-left:5px;">无套餐基础数据时, 请先新增</span>
				</p>
				<p>
					<label>是否补贴：</label>
					<select class="required" name="isSubsidy" style="width:135px;">
						<option value="">-请选择是否补贴-</option>
						<option value="0">无补贴</option>
						<option value="1">有补贴</option>
					</select>
				</p>
				<p>
					<label>套餐周期：</label>
					<input type="text" name="comboCycle" maxlength="8" class="required digits" size="20" alt="只能输入整数" />
					<span style="line-height: 22px; padding-left: 5px;">(月)</span>
					<span style="line-height: 22px;color: #575757"> &nbsp;如: 12, 24等</span>
				</p>
				<p>
					<label>销售单价: </label>
					<input type="text" name="salesPrice" value="" maxlength="8" size="20" class="required number" alt="请输入数字" />
					<span style="line-height: 22px; padding-left: 5px;">(￥)</span>
				</p>
		</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent">
				<button type="submit" >保存</button></div></div> 
				<input type="hidden" value="0" id="divLen" />
				</li>
				<li>
					<div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div>
				</li>
			</ul>
		</div>
	</form>
</div>
